﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace bomberbide
{
    class invisible : buff
    {
        public invisible(GameTime gameTime, ContentManager Content)
            : base(gameTime, Content)
        {
            this.Texture = Content.Load<Texture2D>("sprite/buffs/invisible");
            this.Mort = gameTime.TotalGameTime.TotalMilliseconds + 10000;
        }

        public override void Modif(bomber Bomber)
        {
            Bomber.Invisible = true;

            base.Modif(Bomber);
        }
        public override void Rollback(bomber Bomber)
        {
            Bomber.Invisible = true;
            
            base.Rollback(Bomber);
        }
    }
}
